public class BackgroundWorker.ImportWorker
extends javax.swing.SwingWorker<java.lang.Void,java.lang.Void>
Modifier and Type | Field and Description |
---|---|
private java.io.File[] |
dir |
(package private) int |
filesInDirectory |
(package private) int |
filesProcessedCount |
Constructor and Description |
---|
BackgroundWorker.ImportWorker(javax.swing.JProgressBar aProgressBar,
java.io.File[] dir) |
Modifier and Type | Method and Description |
---|---|
private void |
calculateNumFilesInDirectory() |
protected java.lang.Void |
doInBackground() |
void |
done() |
void |
setProgressAmount(int progressAmount) |
private java.io.File[] dir
int filesProcessedCount
int filesInDirectory
public BackgroundWorker.ImportWorker(javax.swing.JProgressBar aProgressBar, java.io.File[] dir)
public void setProgressAmount(int progressAmount)
private void calculateNumFilesInDirectory() throws java.io.IOException, org.xml.sax.SAXException, org.apache.tika.exception.TikaException
java.io.IOException
org.xml.sax.SAXException
org.apache.tika.exception.TikaException
protected java.lang.Void doInBackground() throws java.lang.Exception
doInBackground
in class javax.swing.SwingWorker<java.lang.Void,java.lang.Void>
java.lang.Exception
public void done()
done
in class javax.swing.SwingWorker<java.lang.Void,java.lang.Void>